//-----------------------------------------------------------------
// Space Out Application
// C++ Header - WARTANK.h
//-----------------------------------------------------------------

#pragma once

//-----------------------------------------------------------------
// Include Files
//-----------------------------------------------------------------
#include <windows.h>
#include "Resource.h"
#include "GameEngine.h"
#include "Bitmap.h"
#include "Sprite.h"
#include "Background.h"

//-----------------------------------------------------------------
// Global Variables
//-----------------------------------------------------------------
HINSTANCE         g_hInstance;
GameEngine*       g_pGame;
HDC               g_hOffscreenDC;
HBITMAP           g_hOffscreenBitmap;
Bitmap*           g_pDesertBitmap;
Bitmap*           g_pCarBitmap;
Bitmap*           g_pSmCarBitmap;
Bitmap*           g_pMissileBitmap;
Bitmap*           g_pBlobboBitmap;
Bitmap*           g_pBMissileBitmap;
Bitmap*           g_pJellyBitmap;
Bitmap*           g_pJMissileBitmap;
Bitmap*           g_pTimmyBitmap;
Bitmap*           g_pTMissileBitmap;
Bitmap*           g_pSmExplosionBitmap;
Bitmap*           g_pLgExplosionBitmap;
Bitmap*           g_pTankBitmap;
Bitmap*           g_pTank2Bitmap;
Bitmap*           g_pBuildingBitmap;
Bitmap*           g_pGameOverBitmap;
Bitmap*           g_pGameOver2Bitmap;
StarryBackground* g_pBackground;
Sprite*           g_pCarSprite;
Sprite*           g_pTankSprite;
Sprite*           g_pTankSprite2;
Sprite*           g_pBuildingSprite;
int               g_iFireInputDelay;
int               g_iNumLives, g_iAngle, g_iAngle2;
BOOL              g_bGameOver;
BOOL              g_J1Loose;
BOOL              g_J2Loose;

//-----------------------------------------------------------------
// Function Declarations
//-----------------------------------------------------------------
void NewGame();
void AddAlien();
